import requests

class IhrmloginApi(object):
    @classmethod
    def get_login(cls,json_data):
        url = "https://ihrm-java.itheima.net/api/sys/login"
        headers = {"content-type": "application/json"}
        resp = requests.post(url=url,headers=headers,
                           json=json_data)

        return resp

